﻿@model ATTools.Models.TranslationWidgetPart
<fieldset>
  <legend>@T("Microsoft Translator Widget")</legend>

  <div class="editor-label">
    @T("Color"):
  </div>
  <div class="editor-field">
    @Html.TextBoxFor(model => model.Color)
    @Html.ValidationMessageFor(model => model.Color)
    <span class="hint">@T("Example: #A0A0A0")</span>
  </div>

  <div class="editor-label">
    @T("Border color"):
  </div>
  <div class="editor-field">
    @Html.TextBoxFor(model => model.BorderColor)
    @Html.ValidationMessageFor(model => model.BorderColor)
    <span class="hint">@T("Example: #404040")</span>
  </div>


  <div class="editor-label">
    @T("Width"):
  </div>
  <div class="editor-field">
    @Html.TextBoxFor(model => model.Width)
    @Html.ValidationMessageFor(model => model.Width)
    <span class="hint">@T("Example: 250px, 100%")</span>
  </div>
  
</fieldset>
